//
//  SearchView.h
//  Wujin
//
//  Created by cz on 2016/12/9.
//  Copyright © 2016年 dong. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SearchViewDelegate <NSObject>

@optional
//点击搜索通知homeVC设置标题
- (void)searchButtonDidClicked;
//点击取消通知homeVC设置标题
- (void)cancelButtonDidClicked;

@end

@interface SearchView : UIView

@property (weak, nonatomic) IBOutlet UITextField *searchTextFiled;

@property (nonatomic,weak) id<SearchViewDelegate> delegate;


/**
 设置搜索框的类方法
 */
+ (instancetype)setupSearchView;

@end
